package com.uls.ldcm.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 薪资方案对象 lb_salaryschemes
 * 
 * @author gw
 * @date 2024-10-31
 */
public class Salaryschemes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 薪资方案唯一标识 */
    private Long salaryschemeId;

    /** 方案名 */
    @Excel(name = "方案名")
    private String name;

    /** 基本工资 */
    @Excel(name = "基本工资")
    private BigDecimal basicSalary;

    /** 奖金 */
    @Excel(name = "奖金")
    private BigDecimal bonus;

    /** 津贴 */
    @Excel(name = "津贴")
    private BigDecimal allowances;

    /** 加班费/h */
    @Excel(name = "加班费")
    private BigDecimal overtimePay;

    /** 薪资方案描述 */
    @Excel(name = "薪资方案描述")
    private String description;

    /** 创建时间 */
    private Date createdAt;

    /** 更新时间 */
    private Date updatedAt;

    public void setSalaryschemeId(Long salaryschemeId) 
    {
        this.salaryschemeId = salaryschemeId;
    }

    public Long getSalaryschemeId() 
    {
        return salaryschemeId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setBasicSalary(BigDecimal basicSalary) 
    {
        this.basicSalary = basicSalary;
    }

    public BigDecimal getBasicSalary() 
    {
        return basicSalary;
    }
    public void setBonus(BigDecimal bonus) 
    {
        this.bonus = bonus;
    }

    public BigDecimal getBonus() 
    {
        return bonus;
    }
    public void setAllowances(BigDecimal allowances) 
    {
        this.allowances = allowances;
    }

    public BigDecimal getAllowances() 
    {
        return allowances;
    }
    public void setOvertimePay(BigDecimal overtimePay) 
    {
        this.overtimePay = overtimePay;
    }

    public BigDecimal getOvertimePay() 
    {
        return overtimePay;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("salaryschemeId", getSalaryschemeId())
            .append("name", getName())
            .append("basicSalary", getBasicSalary())
            .append("bonus", getBonus())
            .append("allowances", getAllowances())
            .append("overtimePay", getOvertimePay())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createdAt", getCreatedAt())
            .append("updateBy", getUpdateBy())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
